keep (one's) temper

Translations
сохранять спокойствие
She managed to keep her temper despite the provocation.
Она сумела сохранить спокойствие, несмотря на провокацию.
Definitions
To remain calm and not become angry, especially in a difficult or frustrating situation.